import item from './item'
import demo from './demo'
import main from '@/frames/main'

import home from '%/home'
import about from '%/about'

export default [
  {
    path: '/',
    alias: '/home',
    title: '首页',
    hidden: true,
    component: home
  },
  {
    path: '/item',
    title: '元素',
    component: main,
    children: item,
  },
  {
    path: '/demo',
    title: '案例',
    component: main,
    children: demo,
  },
  {
    path: '',
    title: '关于',
    component: main,
    children: [{
      path: "/about",
      title: '授权',
      component: about
    }]
  },
]